package org.edu.modules.classSwitch.service.impl;

import org.edu.modules.classSwitch.entity.VeJwTiaoke;
import org.edu.modules.classSwitch.mapper.VeJwTiaokeMapper;
import org.edu.modules.classSwitch.service.IVeJwTiaokeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description: 调课信息
 * @Author:
 * @Date:   2021-05-13
 * @Version: V1.0
 */
@Service
public class VeJwTiaokeServiceImpl extends ServiceImpl<VeJwTiaokeMapper, VeJwTiaoke> implements IVeJwTiaokeService {
    @Autowired
    private VeJwTiaokeMapper veJwTiaokeMapper;
    @Override
    public int changeStatusByIds(String[] ids, int verifyStatus) {
        Map<String, Object> map = new HashMap<String, Object>();
        map.put("ids", ids);
        map.put("verifyStatus", verifyStatus);
        return veJwTiaokeMapper.changeStatusByIds(map);
    }

}
